package com.dianrui.moonfire.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dianrui.moonfire.R;
import com.dianrui.moonfire.bean.WalletBean;

import java.util.List;

public class WalletAdapter extends BaseQuickAdapter<WalletBean,BaseViewHolder> {



    public WalletAdapter(@Nullable List<WalletBean> data) {
        super(R.layout.item_wallet);
    }

    @Override
    protected void convert(BaseViewHolder helper, WalletBean item) {
        helper.setText(R.id.title,item.remark);
        helper.setText(R.id.time,item.create_time);
        helper.setText(R.id.money,item.money);
    }
}
